package com.woniu.new_orange.personnel_model_wu.service.impl;

import com.woniu.new_orange.entity.Refund;
import com.woniu.new_orange.mapper.RefundMapper;
import com.woniu.new_orange.personnel_model_wu.VO.RefundRvo;
import com.woniu.new_orange.personnel_model_wu.service.RefundService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @Program: new_orange->RefundServiceImpl
 * @Description:
 * @Author: 13488
 * @Date: 2023-02-07 10:33
 * @Version： 1.0
 **/
@Service
public class RefundServiceImpl implements RefundService {
    @Resource
    private RefundMapper refundMapper;

    @Override
    public RefundRvo selectRecord(Long id) {
        return refundMapper.selectRecord(id);
    }

    @Override
    public List<Refund> selectAll() {
        return refundMapper.selectAll();
    }

    @Override
    public int deleteByPrimaryKey(Long id) {
        return 0;
    }

    @Override
    public int insert(Refund record) {
        return 0;
    }

    @Override
    public int insertSelective(Refund record) {
        return refundMapper.insertSelective(record);
    }

    @Override
    public Refund selectByPrimaryKey(Long id) {
        return refundMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(Refund record) {
        return 0;
    }

    @Override
    public int updateByPrimaryKey(Refund record) {
        return 0;
    }

    @Override
    public int insertSelective1(Refund record) {
        return refundMapper.insertSelective1(record);
    }
}
